<?php

namespace app\api\validate\system;

use app\api\validate\Validates;

class Feedback extends Validates
{
    /**
     * 定义验证规则
     * 格式：'字段名'	=>	['规则1','规则2'...]
     *
     * @var array
     */	
	protected $rule = [
	    'image_url|图片' => 'array',
        'opinion|意见' => 'require|length:1,200'
    ];
    
    /**
     * 定义错误信息
     * 格式：'字段名.规则名'	=>	'错误信息'
     *
     * @var array
     */	
    protected $message = [];
}
